package Meituan;

import java.util.Random;

/**
 * @author: leiwenkang02@meituan.com
 * @date: 2019/3/14
 * @time: 16:13
 */
public class RandomTest {

    public static void main(String[] args) {
        long start = System.currentTimeMillis();
        for (int i = 0; i < 100000; i++) {
            double result = Math.random();
        }
        Random random = new Random();
        random.nextInt();
        System.out.println(System.currentTimeMillis() - start);

    }
}
